<template>
  <div class="succeedBox">
    <el-row>
      <el-col :sm="12" :lg="6">
        <el-result icon="success" title="结算成功" subTitle="成功购买">
          <template slot="extra">
            <el-button type="primary" size="medium" @click="getOrders">返回</el-button>
          </template>
        </el-result>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  methods: {
    getOrders() {
      this.$router.push('/home/orders')
    }
  }
}
</script>

<style scoped>
.succeedBox {
  position: relative;
  left: 700px;
  top: 250px;
  width: 1200px;
  height: 600px;
}
</style>